cmake_minimum_required(VERSION 3.18)

project(math)

add_subdirectory(my_lib)
add_subdirectory(myapp)

# 4 开启打包功能
include(CPack)
set(CPACK_PACKAGE_NAME "MyApp")
set(CPACK_PACKAGE_VERSION "1.0.0")
set(CPACK_GENERATOR "TGZ")